package com.zb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 厂商策略表
 * </p>
 *
 * @author WEN
 * @since 2024-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjFactoryStrategy对象", description="厂商策略表")
public class ZjFactoryStrategy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "厂商表ID/主健ID")
    private Long id;

    @ApiModelProperty(value = "是否开启工单配件权限：0-否，1-是")
    @TableField("is_enable_spare_authori")
    private Boolean enableSpareAuthori;

    @ApiModelProperty(value = "是否开启申请工单配件：0-否，1-是，当is_enable_spare_authori=1时生效")
    @TableField("is_enable_apply_spare")
    private Boolean enableApplySpare;

    @ApiModelProperty(value = "是否开启审核工单配件：0-否，1-是，当is_enable_spare_authori=1时生效")
    @TableField("is_enable_check_spare")
    private Boolean enableCheckSpare;

    @ApiModelProperty(value = "是否开启工单费用权限：0-否，1-是")
    @TableField("is_enable_fee_authori")
    private Boolean enableFeeAuthori;

    @ApiModelProperty(value = "是否开启申请工单费用：0-否，1-是，当is_enable_fee_authori=1时生效")
    @TableField("is_enable_apply_fee")
    private Boolean enableApplyFee;

    @ApiModelProperty(value = "是否开启审核工单费用：0-否，1-是，当is_enable_fee_authori=1时生效")
    @TableField("is_enable_check_fee")
    private Boolean enableCheckFee;

    @ApiModelProperty(value = "结算类型：1-预充值/余额不足禁止下单，2-月结/余额不足亦可下单")
    private Integer settlementType;


}
